import { TestAT } from "../action-types";

interface DepositAction {
  type: TestAT.DEPOSIT;
  payload: number;
}

interface WithdrawAction {
  type: TestAT.WITHDRAW;
  payload: number;
}

interface BankdruptAction {
  type: TestAT.BANKRUPT;
}

export type TestAction = DepositAction | WithdrawAction | BankdruptAction;
